package main.java.chessfootball.model.rule;

import main.java.chessfootball.model.regulation.Period;

/**
 * User: Igor
 * Date: 11.06.2011
 * Time: 9:25:50
 */
public class TimeRule
{
	private Period period;
	private int turns;
	private boolean completionAttack;
	private boolean goldenGoal;
	private boolean iterationOutGame;

	public TimeRule(Period period, int turns, boolean completionAttack, boolean goldenGoal, boolean iterationOutGame)
	{
		this.period = period;
		this.turns = turns;
		this.completionAttack = completionAttack;
		this.goldenGoal = goldenGoal;
		this.iterationOutGame = iterationOutGame;
	}

	public Period getPeriod()
	{
		return period;
	}

	public int getTurns()
	{
		return turns;
	}

	public boolean isCompletionAttack()
	{
		return completionAttack;
	}

	public boolean isGoldenGoal()
	{
		return goldenGoal;
	}

	public boolean isIterationOutGame()
	{
		return iterationOutGame;
	}
}
